package com.qf.pojo;

public class Product {
    private int id ;
    private String pname;
    private String pprice;
    private String pdesc;

    public Product() {
    }

    public Product(int id, String pname, String pprice, String pdesc) {
        this.id = id;
        this.pname = pname;
        this.pprice = pprice;
        this.pdesc = pdesc;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPprice() {
        return pprice;
    }

    public void setPprice(String pprice) {
        this.pprice = pprice;
    }

    public String getPdesc() {
        return pdesc;
    }

    public void setPdesc(String pdesc) {
        this.pdesc = pdesc;
    }

    @Override
    public String toString() {
        return "Product{" +
                "id=" + id +
                ", pname='" + pname + '\'' +
                ", pprice='" + pprice + '\'' +
                ", pdesc='" + pdesc + '\'' +
                '}';
    }
}
